package com.hhh.demo.sx.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhh.demo.sx.bean.LayuiTree;
import com.hhh.demo.sx.bean.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhh.demo.sx.bean.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhh
 * @since 2021-12-27
 */
public interface MenuService extends IService<Menu> {
    Page<Menu> findAll(Page<Menu> Page, QueryWrapper wrapper);

    List<LayuiTree> selectMenuTree(Integer id);

    List<LayuiTree> selectByUserId(Integer id);
}
